package com.cskaoyan.service;

import com.cskaoyan.bean.MarketStorage;
import com.cskaoyan.bean.common.BaseRespVo;

import javax.servlet.http.HttpServletRequest;
import java.io.InputStream;

public interface AdminStorageService {
    MarketStorage store(InputStream inputStream, long size, String contentType, String fileName);

    int add(MarketStorage storageInfo);

    BaseRespVo list(HttpServletRequest request);

    BaseRespVo update(MarketStorage marketStorage);

    BaseRespVo delete(MarketStorage marketStorage);
}
